#include "SpreadsheetCell.h"
#include <iostream>

using namespace std;

int main()
{
	int i, j{4};
	i = -j; // Unary minus
	cout << 'i' << i << '\n';
	i = +i; // Unary plus
	cout << 'j' << i << '\n';

	j = +(-i); // Apply unary plus to the result of applying unary minus to i.
	cout << 'j' << j << '\n';
	j = -(-i); // Apply unary minus to the result of applying unary minus to i.
	cout << 'j' << j << '\n';


	i = i + 1;
	cout << 'i' << i << '\n';

	i += 1;
	cout << 'i' << i << '\n';

	++i;
	cout << 'i' << i << '\n';

	i++;
	cout << 'i' << i << '\n';

	SpreadsheetCell c1{4};
	SpreadsheetCell c2{4};
	SpreadsheetCell c3{-c1};
	c1++;
	++c2;
}
